package com.example.repoprovider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.repoprovider.model.Repo;

/**
 * @author Kong
 * @date 2021-8-19 16:58
 */
public interface IRepoService extends IService<Repo> {
    /**
     * 扣减库存
     * @param productCode
     * @param count
     * @return
     */
    int decreaseRepo( String productCode, Integer count);
}
